package com.ruoyi.system.domain.quality;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author GE-LV5
 * @create 2023/2/28 10:21
 * 过程检验单
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("quality_process_inspection")
public class QualityProcessInspection  extends BaseEntity {

    @TableId(value = "id")
    @Excel(name = "序号")
    private Long id;


    @ApiModelProperty(value = "质量单号")
    @Excel(name = "质量单号")
    private String qualityNumber;


    @ApiModelProperty(value = "产品名称")
    @Excel(name = "产品名称")
    private String productName;

    @ApiModelProperty(value = "检查日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "检查日期")
    private Date checkDate;

    @ApiModelProperty(value = "首检")
    @Excel(name = "首检")
    private String firstInspection;

    @ApiModelProperty(value = "判定_1")
    @Excel(name = "判定_1")
    private String decide_1;


    @ApiModelProperty(value = " 巡检")
    @Excel(name = "巡检")
    private String polling;


    @ApiModelProperty(value = "判定_2")
    @Excel(name = "判定_2")
    private String  decide_2;

    @ApiModelProperty(value = "未检")
    @Excel(name = "未检")
    private String notDetected;

    @ApiModelProperty(value = "判定_3")
    @Excel(name = "判定_3")
    private String  decide_3;


    @ApiModelProperty(value = "单据类型")
    @Excel(name = "单据类型")
    private String  ItemType ;

    @ApiModelProperty(value = "状态")
    @Excel(name = "状态")
    private String  status;

    @ApiModelProperty(value = "图片地址")
    @Excel(name = "图片地址")
    private String url;
}
